STEP 5: On the moon, things only weigh 16% of what what they weigh on earth!
To get 16% of a number: Move the decimal 2 places to the left to get 0.16. Then multiply the number by 0.16.
- In LOGIC, go to and drop Float Variable indented inside the function.
- Change the name of the float variable inside the function to moon_weight.
- Change the value to earth_weight * 0.16.
To navigate the page using the TAB key, first press ESC to exit the code editor.